<template>
	<div class="myorder">
		<div class="flsb daybox fsize264">
			<div class="daytxt">日期</div>
			<picker mode="date"  @change="bindDateChange">
				<div class="datechoose" >
					<span class="datetxt">
					{{nowday}}
					</span>
					<image src="../../../static/details/goto.png" class="img32" mode=""></image>
				</div>
			</picker>
		</div>
		<div class="bcbox"></div>
		<div class="settlementlistbox">
			<div class="orderidbox flsb fsize28">
				<div class="orderidtxt">
					订单号： 16516416116464
				</div>
				<div class="ordertype">
					待支付
				</div>
			</div>
			<div class="settlementitem" v-for = 'item in 2'>
				<image src="../../../static/details/2222.png" class="img160" mode=""></image>
				<div class="">
					<div class="fls fsize28">
						<div class="settlementname">
							长白母猪_母猪不拼价格拼…
						</div>
						<div class="settlementprice">
							￥ 1080
						</div>
					</div>
					<div class="flx fsize24 flsb">
						<div class="settlementstype">商品规格：规格规格规格规</div>
						<div class="settlementcunt">数量：1</div>
					</div>
				</div>
			</div>
			<div class="flend">
				<div class="spanbox fsize24s">
					<span class='allcount'>共2件商品</span>
					<span>合计：</span>
					<span class='paycount fsize32p'>￥ 3333</span>
				</div>
			</div>
			<div class="flend">
				<div class="paycountbtn" @click='gotoorderdetails'>
					去发货
				</div>
			</div>
		</div>
		<div class="bcbox"></div>
		
		
		
		
		
	</div>


</template>

<script>
	export default {
		data() {
			return {
				hour: 10,
				minute: 50,
				second: 32,
				nowday:'2020-05-18',
				dateshow:false,
			};
		},
		onLoad: function() {

		},
		methods: {
			gotoorderdetails(e) {
				uni.navigateTo({
					url: '../orderdetails/orderdetails'
				});
			},
			bindDateChange(e) {
				this.nowday = e.target.value
			},

		}
	}
</script>

<style lang="less">
	.daybox {
		padding: 0 32rpx;
		line-height: 112rpx;
		.datechoose {
			display: flex;
			align-items:center;
		}
	}

	.settlementlist {
		padding:20rpx 32rpx;
		display: flex;
		justify-content: space-between;
		.settlementlistl {
			display: flex;
			.chooseimg {
				margin: 0  20rpx 0 0;
			}
		}
		.editimg{
			margin: 29rpx  0;
		}
	}
	.addressabout {
		display: flex;
		// flex-wrap: wrap;
		flex-direction: column;
		justify-content: space-between;
		.addressaboutt {
			display: flex;
			line-height:34rpx;
			.addresscall {
				margin-left: 28rpx;
			}
		}
		.addressaboutb {
			line-height:54rpx;
			width: 558rpx;
			overflow: hidden;
			text-overflow: ellipsis;
			white-space: nowrap;
		}
	}
	
	.settlementlistbox {
		padding: 32rpx;
		.settlementitem {
			display: flex;
			margin-bottom: 20rpx;
			image {
				margin-right: 16rpx;
			}
			.settlementname {
				width: 410rpx;
				overflow: hidden;
				text-overflow: ellipsis;
				white-space: nowrap;
			}
			.flx {
				line-height: 40rpx;
				margin-top: 16rpx;
				line-height: 40rpx;
			}
		}
	}
	.settlementcunt {
		margin-top: 8rpx;
	}
	.fls {
		display: flex;
	}
	
	.message {
		padding: 32rpx;
		display: flex;
		.messagelable {
		}
		.messagetitle {
			width: 546rpx;
		}
	}
	.wxpay {
		padding: 32rpx;
		display: flex;
		image {
			margin-top: 6rpx;
			margin-right: 16rpx;
		}
	}
	
	.orderidbox{
		margin-bottom: 16rpx;
		line-height: 40rpx;
		.ordertype{
			color:rgba(227,19,75,1);
		}
	}
	
	.allcount {
		margin-right: 24rpx;
	}
	.paycountbtn {
		width:174rpx;
		height:68rpx;
		background:rgba(255,255,255,1);
		border-radius:12rpx;
		border:2rpx solid rgba(24,108,242,1);
		text-align: center;
		color: rgba(24,108,242,1);
		line-height: 68rpx;
		margin-top: 32rpx;
	}
</style>
